CC = gcc
pkg_packages := gtk+-2.0 hildon-1
PKG_CFLAGS := $(shell pkg-config --cflags $(pkg_packages))
PKG_LDFLAGS := $(shell pkg-config --libs $(pkg_packages))
ADD_CFLAGS := -Wall -g
CFLAGS  := $(PKG_CFLAGS) $(ADD_CFLAGS) $(CFLAGS)
LDFLAGS := $(PKG_LDFLAGS) $(LDFLAGS)

psr: psr.c
	$(CC) -g psr.c $(CFLAGS) -o psr $(LDFLAGS)
